﻿using Bigway.Common.Models.DbModels;
using SqlSugar;

namespace Benefactor.Models.DbModels;

public class RefererCommissionWithdrawalRecord: DeletableEntity
{
    [SugarColumn(IsNullable = false)]
    public string RefererCommissionId { get; set; }

    [SugarColumn(IsNullable = false)]
    public double Amount { get; set; }

    [SugarColumn(IsNullable = false)]
    public DateTime WithdrawTime { get; set; }

    [Navigate(NavigateType.OneToOne, nameof(RefererCommissionId))]
    public RefererCommission? RefererCommission { get; set; }
}